home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / stepp000.swf / scripts / DefineSprite_1412 / frame_10 / DoAction.as
Encoding:
Text File  |  2010-04-12  |  376 b   |  19 lines

  1. if(eval("../:AttrapeCrane") == true and eval("/Variables:CraneRamasse") == false)
  2. {
  3.    set("../:Joue",true);
  4.    set("/Variables:CraneRamasse",true);
  5.    tellTarget("_root.Crane")
  6.    {
  7.       gotoAndStop(2);
  8.    }
  9.    tellTarget("_root.ObjetAfficheCrane")
  10.    {
  11.       gotoAndStop(2);
  12.    }
  13. }
  14. set("/Variables:StepAction",false);
  15. tellTarget("_parent")
  16. {
  17.    play();
  18. }
  19.